package com.gopay.remote.cps.ic;

import com.gopay.common.domain.R;
import com.gopay.common.domain.ic.IcTradeBalance;
import com.gopay.common.domain.ic.IcTrialBalance;

import java.util.Date;
import java.util.Map;

/**
 * @Description  内部对账远程服务接口service
 * @Author jianghoupeng
 * @Date 2016/12/27 11:32
 *
 * Copyright (c) 2016. www.gopay.com.cn Inc.All rights reserved.
 */
public interface InnerCheckRemoteService {

    /**
     * @Description 内部对账日报业务处理
     * @Author jianghoupeng
     * @Date 2016/12/27 11:40
     *
     * Copyright (c) 2016. www.gopay.com.cn Inc.All rights reserved.
     */
    void reportDailyProcess(Map param) throws Exception;

    /**
     * 生成内部对账 baiyunpeng
     * @param icTradeBalance
     * @return
     */
     void coverAcpsToIcTradeBalance(IcTradeBalance icTradeBalance,Map<String,Object> dataMap) throws Exception;

    /**
     * 生成内部对账 baiyunpeng
     * @param icTrialBalance
     * @return
     */
     void coverAcpsToIcTrialBalance(IcTrialBalance icTrialBalance,Map<String,Object> dataMap) throws Exception;
     
     /**
      * 成功订单金额校验 liuyu
      * @param fromConsole
      * @param checkDate
      * @return
      */
     R checkSuccessOrderAndAccounting(boolean fromConsole, Date checkDate) throws Exception;


    /**
     * @Description  切日订单处理
     * @Author jianghoupeng
     * @Date 2017/1/16 10:34
     *
     * Copyright (c) 2017. www.gopay.com.cn Inc.All rights reserved.
     */
     void nextDayOrdersProcess(Map param) throws Exception;

}
